<?php 
/**
 * The category total file.

 * @package WordPress
 * @subpackage TNT
 */

get_header(); ?>
<?php 
		$category_description = category_description();
		if ( ! empty( $category_description ) )
			echo '<section class="main-top"><div class="center-box"><div class="top-title">'.'<h1>' . single_cat_title( '', false ) . '</h1>'.
			apply_filters( 'category_archive_meta',$category_description).
			'</div></div></section>';
?>
<div class="main">
	<div class="main-con">
		<section>
			
			<?php if (have_posts()) : ?>
            
			<!--分类列表 -->
		    <div class="post-list">
				<h1 class="tit">分类列表</h1>
		    	<?php catslist();?> 
			</div>
            
			<?php endif; ?>
  			            
		</section>
	</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>